GdkDeviceManagerXI2: process send_event core events
authorDan Winship <danw@gnome.org>
Tue, 15 Mar 2011 16:25:36 +0000 (12:25 -0400)
committerDan Winship <danw@gnome.org>
Thu, 17 Mar 2011 21:18:33 +0000 (17:18 -0400)
commit605c383c783f58e8bf94c21dcc8c3497c80cf48a
tree9a0aaaca67708723ece4a840ce1d70ae98f49edb
parent151cf7204ba8591ed0231cc8405cfb18e381e4ca
GdkDeviceManagerXI2: process send_event core events

XSendEvent doesn't currently work with XI2 events, so add code to
translate core events when they have the send_event flag.

(We still don't actually select for core pointer/keyboard events, so
we will only receive send_event events that are sent with a 0
event_mask.)

https://bugzilla.gnome.org/show_bug.cgi?id=644847
gdk/x11/gdkdevicemanager-xi2.c